home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 7 / BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso / Files / Hyper / Q-R / Q&A.cpt / Stars / background_2623.txt < prev    next >
Text File  |  1987-11-19  |  9KB  |  393 lines

  1. -- background: 2623 from stack: in
  2. -- bmap block id: 2297
  3. -- flags: 0000
  4. -- background id: 0
  5. -- name: 
  6. ----- HyperTalk script -----
  7. on openBackground
  8.   push recent card
  9. end openBackground
  10.  
  11.  
  12. -- part 11 (button)
  13. -- low flags: 00
  14. -- high flags: 0000
  15. -- rect: left=43 top=299 right=325 bottom=71
  16. -- title width / last selected line: 0
  17. -- icon id / first selected line: 21700 / 21700
  18. -- text alignment: 1
  19. -- font id: 0
  20. -- text size: 12
  21. -- style flags: 0
  22. -- line height: 16
  23. -- part name: Home
  24. ----- HyperTalk script -----
  25. on mouseUp
  26.   visual effect iris open
  27.   go Home
  28. end mouseUp
  29.  
  30.  
  31.  
  32. -- part 12 (button)
  33. -- low flags: 00
  34. -- high flags: 0000
  35. -- rect: left=446 top=290 right=339 bottom=491
  36. -- title width / last selected line: 0
  37. -- icon id / first selected line: 1012 / 1012
  38. -- text alignment: 1
  39. -- font id: 0
  40. -- text size: 12
  41. -- style flags: 0
  42. -- line height: 16
  43. -- part name: Return
  44. ----- HyperTalk script -----
  45. on mouseUp
  46.   go to previous card
  47. end mouseUp
  48.  
  49.  
  50.  
  51. -- part 13 (field)
  52. -- low flags: 01
  53. -- high flags: 0000
  54. -- rect: left=77 top=50 right=115 bottom=474
  55. -- title width / last selected line: 0
  56. -- icon id / first selected line: 0 / 0
  57. -- text alignment: 0
  58. -- font id: 2
  59. -- text size: 10
  60. -- style flags: 0
  61. -- line height: 13
  62. -- part name: theQuestion
  63.  
  64.  
  65. -- part 14 (field)
  66. -- low flags: 01
  67. -- high flags: 0000
  68. -- rect: left=77 top=121 right=154 bottom=472
  69. -- title width / last selected line: 0
  70. -- icon id / first selected line: 0 / 0
  71. -- text alignment: 0
  72. -- font id: 2
  73. -- text size: 10
  74. -- style flags: 0
  75. -- line height: 13
  76. -- part name: answer1
  77. ----- HyperTalk script -----
  78. on mouseUp
  79.   global response
  80.   put 1 into response
  81.   process
  82. end mouseUp
  83.  
  84.  
  85.  
  86.  
  87. -- part 15 (field)
  88. -- low flags: 01
  89. -- high flags: 0000
  90. -- rect: left=77 top=155 right=187 bottom=472
  91. -- title width / last selected line: 0
  92. -- icon id / first selected line: 0 / 0
  93. -- text alignment: 0
  94. -- font id: 2
  95. -- text size: 10
  96. -- style flags: 0
  97. -- line height: 13
  98. -- part name: answer2
  99. ----- HyperTalk script -----
  100. on mouseUp
  101.   global response
  102.   put 2 into response
  103.   process
  104. end mouseUp
  105.  
  106.  
  107.  
  108.  
  109. -- part 16 (field)
  110. -- low flags: 01
  111. -- high flags: 0000
  112. -- rect: left=77 top=188 right=220 bottom=472
  113. -- title width / last selected line: 0
  114. -- icon id / first selected line: 0 / 0
  115. -- text alignment: 0
  116. -- font id: 2
  117. -- text size: 10
  118. -- style flags: 0
  119. -- line height: 13
  120. -- part name: answer3
  121. ----- HyperTalk script -----
  122. on mouseUp
  123.   global response
  124.   put 3 into response
  125.   process
  126. end mouseUp
  127.  
  128.  
  129.  
  130.  
  131. -- part 17 (field)
  132. -- low flags: 01
  133. -- high flags: 0000
  134. -- rect: left=77 top=221 right=254 bottom=472
  135. -- title width / last selected line: 0
  136. -- icon id / first selected line: 0 / 0
  137. -- text alignment: 0
  138. -- font id: 2
  139. -- text size: 10
  140. -- style flags: 0
  141. -- line height: 13
  142. -- part name: answer4
  143. ----- HyperTalk script -----
  144. on mouseUp
  145.   global response
  146.   put 4 into response
  147.   process
  148. end mouseUp
  149.  
  150.  
  151.  
  152.  
  153. -- part 35 (field)
  154. -- low flags: 01
  155. -- high flags: 0000
  156. -- rect: left=77 top=255 right=288 bottom=472
  157. -- title width / last selected line: 0
  158. -- icon id / first selected line: 0 / 0
  159. -- text alignment: 0
  160. -- font id: 2
  161. -- text size: 10
  162. -- style flags: 0
  163. -- line height: 13
  164. -- part name: answer5
  165. ----- HyperTalk script -----
  166. on mouseUp
  167.   global response
  168.   put 5 into response
  169.   process
  170. end mouseUp
  171.  
  172.  
  173.  
  174.  
  175. -- part 25 (field)
  176. -- low flags: 00
  177. -- high flags: 0000
  178. -- rect: left=127 top=294 right=310 bottom=147
  179. -- title width / last selected line: 0
  180. -- icon id / first selected line: 0 / 0
  181. -- text alignment: 0
  182. -- font id: 3
  183. -- text size: 12
  184. -- style flags: 0
  185. -- line height: 16
  186. -- part name: correctanswer
  187.  
  188.  
  189. -- part 26 (button)
  190. -- low flags: 80
  191. -- high flags: 0000
  192. -- rect: left=401 top=293 right=327 bottom=436
  193. -- title width / last selected line: 0
  194. -- icon id / first selected line: 1020 / 1020
  195. -- text alignment: 1
  196. -- font id: 0
  197. -- text size: 12
  198. -- style flags: 0
  199. -- line height: 16
  200. -- part name: Help
  201. ----- HyperTalk script -----
  202. on mouseUp
  203.   if background field "why" is empty then
  204.     put "Sorry, no explanation for this question as been entered." into background field "why"
  205.   end if
  206.   if visible of background field "why" = false then
  207.     if background field "why" is empty then
  208.       put "Sorry, no explination for this question as been entered."
  209.       into background field "why"
  210.     end if
  211.     show background field "why"
  212.   else
  213.     hide background field "why"
  214.   end if
  215. end mouseUp
  216.  
  217.  
  218. -- part 28 (field)
  219. -- low flags: 01
  220. -- high flags: 0001
  221. -- rect: left=211 top=17 right=45 bottom=330
  222. -- title width / last selected line: 0
  223. -- icon id / first selected line: 0 / 0
  224. -- text alignment: 0
  225. -- font id: 3
  226. -- text size: 12
  227. -- style flags: 0
  228. -- line height: 16
  229. -- part name: reviewmask
  230.  
  231.  
  232. -- part 30 (field)
  233. -- low flags: 01
  234. -- high flags: 0001
  235. -- rect: left=302 top=307 right=324 bottom=328
  236. -- title width / last selected line: 0
  237. -- icon id / first selected line: 0 / 0
  238. -- text alignment: 65535
  239. -- font id: 0
  240. -- text size: 12
  241. -- style flags: 0
  242. -- line height: 16
  243. -- part name: percentcorrect
  244.  
  245.  
  246. -- part 31 (field)
  247. -- low flags: 01
  248. -- high flags: 0001
  249. -- rect: left=218 top=309 right=323 bottom=244
  250. -- title width / last selected line: 0
  251. -- icon id / first selected line: 0 / 0
  252. -- text alignment: 0
  253. -- font id: 3
  254. -- text size: 10
  255. -- style flags: 0
  256. -- line height: 13
  257. -- part name: cardnumber
  258.  
  259.  
  260. -- part 32 (field)
  261. -- low flags: 01
  262. -- high flags: 0000
  263. -- rect: left=258 top=309 right=324 bottom=284
  264. -- title width / last selected line: 0
  265. -- icon id / first selected line: 0 / 0
  266. -- text alignment: 0
  267. -- font id: 3
  268. -- text size: 10
  269. -- style flags: 0
  270. -- line height: 13
  271. -- part name: numberofcards
  272.  
  273.  
  274. -- part 33 (button)
  275. -- low flags: 00
  276. -- high flags: 0000
  277. -- rect: left=479 top=12 right=32 bottom=493
  278. -- title width / last selected line: 0
  279. -- icon id / first selected line: 0 / 0
  280. -- text alignment: 1
  281. -- font id: 0
  282. -- text size: 12
  283. -- style flags: 0
  284. -- line height: 16
  285. -- part name: New Button
  286. ----- HyperTalk script -----
  287. on mouseUp
  288.   if visible of background field "answermask" = true then
  289.     hide background field "answermask"   --  reveals the answers
  290.     set lockText of background field "answer1" to false   -- allow editing
  291.     set lockText of background field "answer2" to false
  292.     set lockText of background field "answer3" to false
  293.     set lockText of background field "answer4" to false
  294.     set lockText of background field "answer5" to false
  295.     set lockText of background field "theQuestion" to false
  296.     set lockText of background field "why" to false
  297.     set visible of background button "help" to true
  298.     show menubar
  299.   else
  300.     show background field "answermask"   --  hides the answers
  301.     set lockText of background field "answer1" to true   -- allow editing
  302.     set lockText of background field "answer2" to true
  303.     set lockText of background field "answer3" to true
  304.     set lockText of background field "answer4" to true
  305.     set lockText of background field "answer5" to true
  306.     set lockText of background field "theQuestion" to true
  307.     set lockText of background field "why" to true
  308.     set visible of background button "help" to false
  309.     hide menubar
  310.   end if
  311. end mouseUp
  312.  
  313.  
  314.  
  315. -- part 37 (field)
  316. -- low flags: 01
  317. -- high flags: 0001
  318. -- rect: left=442 top=290 right=326 bottom=492
  319. -- title width / last selected line: 0
  320. -- icon id / first selected line: 0 / 0
  321. -- text alignment: 0
  322. -- font id: 3
  323. -- text size: 12
  324. -- style flags: 0
  325. -- line height: 16
  326. -- part name: gobackmask
  327.  
  328.  
  329. -- part 27 (field)
  330. -- low flags: 81
  331. -- high flags: 0004
  332. -- rect: left=77 top=119 right=293 bottom=476
  333. -- title width / last selected line: 0
  334. -- icon id / first selected line: 0 / 0
  335. -- text alignment: 0
  336. -- font id: 20
  337. -- text size: 14
  338. -- style flags: 0
  339. -- line height: 18
  340. -- part name: why
  341. ----- HyperTalk script -----
  342. on mouseUp
  343.   hide background field "why"
  344. end mouseUp
  345.  
  346.  
  347.  
  348. -- part 38 (field)
  349. -- low flags: 81
  350. -- high flags: 0000
  351. -- rect: left=91 top=308 right=322 bottom=119
  352. -- title width / last selected line: 0
  353. -- icon id / first selected line: 0 / 0
  354. -- text alignment: 0
  355. -- font id: 3
  356. -- text size: 9
  357. -- style flags: 0
  358. -- line height: 12
  359. -- part name: got it right
  360.  
  361.  
  362. -- part 29 (field)
  363. -- low flags: 01
  364. -- high flags: 0001
  365. -- rect: left=78 top=293 right=326 bottom=188
  366. -- title width / last selected line: 0
  367. -- icon id / first selected line: 0 / 0
  368. -- text alignment: 0
  369. -- font id: 3
  370. -- text size: 12
  371. -- style flags: 0
  372. -- line height: 16
  373. -- part name: answermask
  374.  
  375.  
  376. -- part 39 (button)
  377. -- low flags: 00
  378. -- high flags: 0000
  379. -- rect: left=41 top=266 right=300 bottom=76
  380. -- title width / last selected line: 0
  381. -- icon id / first selected line: 9761 / 9761
  382. -- text alignment: 1
  383. -- font id: 0
  384. -- text size: 12
  385. -- style flags: 0
  386. -- line height: 16
  387. -- part name: Compass
  388. ----- HyperTalk script -----
  389. on mouseUp
  390.   go to card 2 of Q&A
  391. end mouseUp
  392.  
  393.